home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / dev.fmt / disk.man < prev    next >
Encoding:
Text File  |  1990-02-04  |  1.9 KB  |  69 lines

  1.  
  2.  
  3.  
  4. DISK                         Devices                         DISK
  5.  
  6.  
  7.  
  8. _________________________________________________________________
  9.  
  10. NNAAMMEE
  11.      disk - Device used to read and write disk sectors
  12.  
  13. _________________________________________________________________
  14.  
  15. DDEESSCCRRIIPPTTIIOONN
  16.      Disk devices are used to read and write sectors on  magnetic
  17.      disk devices.  Each rreeaadd or wwrriittee kernel call on a disk dev-
  18.      ice may access one or  more  sectors  on  the  device.   The
  19.      buffer  specified  to  the kernel call must be a multiple of
  20.      the disk's sector size,  normally  512  bytes.   Reading  or
  21.      writing disk sectors advances the file pointer to the sector
  22.      after the last one accessed. The llsseeeekk kernel  call  may  be
  23.      used to position the file pointer to any sector.
  24.  
  25. PPAARRTTIITTIIOONNSS
  26.      A disk may be divided into eight possibly overlapping ranges
  27.      of  disk  sectors  called  partitions.  The  partitions  are
  28.      defined by a structure called a disk label which resides  in
  29.      the  first  sector  of  the  disk.   The  label structure is
  30.      defined in the include file <kernel/devDiskLabel.h>.  Tradi-
  31.      tionally,  partitions  have  been  named  by  the  letters aa
  32.      through hh.  Partition cc  is  normally  used  to  access  the
  33.      entire disk.
  34.  
  35. UUNNIITT NNUUMMBBEERRSS
  36.      For disk devices, the least significant  four  bits  of  the
  37.      unit  number are used to select the partition. A unit number
  38.      of zero implies partition aa while seven implies partition hh.
  39.      The entire disk can be accessed using a unit number of eight
  40.      regardless of the partitioning defined by  the  label.  Unit
  41.      number  eight  is useful for writing a label to an unlabeled
  42.      disk.
  43.  
  44. KKEEYYWWOORRDDSS
  45.      disk, partition, label
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65. Sprite v.1.0       Printed:  February 3, 1990                   1
  66.  
  67.  
  68.  
  69.